#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"


import re

text = "The Attila the Hun Show"

# a single charater
m = re.match(".", text)

if m:
    print repr("."), "=>", repr(m.group(0))

# any string of characters
m = re.match(".*", text)
if m:
    print repr(".*"), "=>", repr(m.group(0))

# a string of letters (at least one)
m = re.match("\w+", text)
if m:
    print repr("\w+"), "=>", repr(m.group(0))

# a string of digits
m = re.match("\d+", text)
if m:
    print repr("\d+"), "=>", repr(m.group(0))


